<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport"
          content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
    <link rel="stylesheet" href="//at.alicdn.com/t/font_1703191_a6cwx031n3p.css">
    <title><%= htmlWebpackPlugin.options.title %></title>
    <meta name="full-screen" content="yes">
    <meta name="x5-fullscreen" content="true">

    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <title><%= htmlWebpackPlugin.options.title %></title>
    <script src='https://wpk-gate.zjzwfw.gov.cn/static/wpk-jssdk.1.0.2/wpkReporter.js' crossorigin='true'></script>
    <script>
      try {
         const config = {
            bid: '20015057', //唯一标识 需要去开发者后台获取
            signkey: '1234567890abcdef',
            gateway: 'https://wpk-gate.zjzwfw.gov.cn'
         };
         const wpk = new wpkReporter(config);
       wpk.installAll();
       window._wpk = wpk;
      } catch (err) {
         console.error('WpkReporterinitfail', err);
      }
      
      
      
      (function(w, d, s, q, i) {
        w[q] = w[q] || [];
        var f = d.getElementsByTagName(s)[0],j = d.createElement(s);
        j.async = true;
        j.id = 'beacon-aplus';
        j.src = 'https://alidt.alicdn.com/alilog/mlog/aplus_cloud.js';
        f.parentNode.insertBefore(j, f);
      })(window, document, 'script', 'aplus_queue');

         aplus_queue.push({
            action: 'aplus.setMetaInfo',
            arguments: ['aplus-rhost-v', 'alog.zjzwfw.gov.cn']
         });
         aplus_queue.push({
            action: 'aplus.setMetaInfo',
            arguments: ['aplus-rhost-g', 'alog.zjzwfw.gov.cn']
         });
         var u = navigator.userAgent
         var isAndroid = u.indexOf('Android') > -1
         var isIOS = !!u.match(/\(i[^;]+;(U;)?CPU.+MacOSX/)
         aplus_queue.push({
            action: 'aplus.setMetaInfo',
            arguments: ['appId', isAndroid ? '28302650' : isIOS ? '28328447' :
               '47130293']
         });
      
      
         //单页应用或“单个页面”需异步补充PV日志参数还需进行如下埋点：
         aplus_queue.push({
            action: 'aplus.setMetaInfo',
            arguments: ['aplus-waiting', 'MAN']
         });//
         //单页应用路由切换后或在异步获取到pv日志所需的参数后再执行sendPV：
         aplus_queue.push({
            'action': 'aplus.sendPV',
            'arguments': [{
               is_auto: false
            }, {
               //当前你的应用信息，此两行按应用实际参数修改，不可自定义。
               sapp_id: '32605',
               sapp_name: 'sxy',
               //自定义PV参数key-value键值对（只能是这种平铺的json，不能做多层嵌套），
            }]
         })
         // 阿里巴巴保密信息 / ALIBABACONFIDENTIAL
         // 用户信息埋点
         //如采集用户信息是异步行为需要先执行这个BLOCK埋点
         aplus_queue.push({
            action: 'aplus.setMetaInfo',
            arguments: ['_hold', 'BLOCK']
         });
         //设置会员ID
         aplus_queue.push({
            action: "aplus.setMetaInfo",
            arguments: ["_user_id", "当前会员ID"]
         });
         aplus_queue.push({
            action: "aplus.setMetaInfo",
            arguments: ["_dev_id", "yourDeviceId"]
         });
         //如采集用户信息是异步行为，需要先设置完用户信息后再执行这个START埋点
         //此时被block住的日志会携带上用户信息逐条发出
         aplus_queue.push({
            action: 'aplus.setMetaInfo',
            arguments: ['_hold', 'START']
         });
       
   </script> 

    <!--    <script src="http://wechatfe.github.io/vconsole/lib/vconsole.min.js?v=3.2.0"></script>
    <script> new VConsole()</script>-->
  </head>
  <body>
    <noscript>
      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>
